﻿<Window x:Class="Dynamic_UI_Framework.NameDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="NameDialog"
        Width="264"
        Height="149">
    <Grid Height="115">
        <TextBox Name="txtName"
                 Width="163"
                 Height="23"
                 Margin="0,18,23,0"
                 HorizontalAlignment="Right"
                 VerticalAlignment="Top" />
        <TextBlock Name="textBlock1"
                   Height="23"
                   Margin="12,22,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Name: " />
        <Button Name="btnOK"
                Width="75"
                Height="23"
                Margin="27,70,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="确定" Click="btnOK_Click" />
        <Button Name="btnCancel"
                Width="75"
                Height="23"
                Margin="141,70,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="取消" Click="btnCancel_Click" />
    </Grid>
</Window>
